package com.ycxy.crm.workbench.service;

import com.ycxy.crm.workbench.domain.Activity;

import java.util.List;
import java.util.Map;

/**
 * @Author jayLuo
 * @Date 2022/9/22 10:43
 * @PackageName:com.ycxy.crm.workbench.service
 * @ClassName: ActivityService
 * @Description: TODO
 * @Version 1.0
 */
public interface ActivityService {
    int saveCreate(Activity activity);

    List<Activity> queryActivityByConditionForPage(Map<String,Object> map);

    int queryCountOfActivityByCondition(Map<String,Object> map);

    int deleteActivityByIds(String[] ids);

    Activity queryActivityById(String id);

    int updateActivityById(Activity activity);

    List<Activity> queryAllActivity();

    List<Activity> queryActivityByIds(String[] ids);

    int saveCreateActivityByList(List<Activity> activityList);

    Activity queryActivityForDetailById(String id);

    List<Activity> queryActivityFroDetailByClueId(String clueId);

    List<Activity> queryActivityForDetailByNameClueId(Map<String,Object> map);

    List<Activity> queryActivityForDetailByIds(String[] ids);

    List<Activity> queryActivityForConvertByNameClueId(Map<String,Object> map);
}
